#include"BSTree.h"
#include<iostream>
using namespace std;
int main()
{

	int a[5]= {56,45,32,255,34};
	BSNode bst, *pos;
	CreateBST(&bst, a,5);
	BST_LDR(&bst);
	pos = SearchBST(&bst, 32);
	cout<<endl;
	if(pos != NULL)
		cout<<pos->data;
	else
		cout<<"no exist"<<endl;
	cin.get();
	return 0;
}